package com.hl.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.hl.sfzy.entity.Free;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface FreeService {
    int deleteById(Integer id);

    int insert(Free free);

    Free selectById(Integer id);

    int update(Free free);
    List<Free> selectAll();
    PageInfo<Free> findByPage(int pageNum, int pageSize, Free free);
}
